var mongoose = require('../dao/mongo/mongo');
var Schema = mongoose.Schema;

var treasureSchema = new Schema({
    id: {
        type: String
    },
    // 矿层
    level_num: {
        type: Number
    },
    // 徒弟数
    apprentice_num: {
        type: Number,
    },
    // 徒孙数
    disciple_num: {
        type: Number,
    },
    // 每日奖励
    daily_reward: {
        type: Number
    },
    // 矿层奖励
    level_reward: {
        type: Number
    },
    // 徒弟奖励
    apprentice_reward: {
        type: Number
    }
});

module.exports = mongoose.model('Treasure', treasureSchema);